package com.bank.doman.auth.dao.mapper;

import com.bank.common.dao.mapper.TkMapper;
import com.bank.doman.auth.dao.model.RoleGrant;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 类RoleMenuMapper.java的实现描述：菜单Mapper
 *
 * @author zach
 * @Date :2020-06-23 14:23.
 */
public interface RoleGrantMapper extends TkMapper<RoleGrant> {
    void changeId(@Param("map") Map<String, String> map);

    void changeRoleId(@Param("map") Map<String, String> map);

    void changeGrantId(@Param("map") Map<String, String> map);

    /**
     * 批量插入
     * @param roleGrants
     */
    void batchInsertList(@Param("list") List<RoleGrant> roleGrants);
}
